package org.example.iris.service;

import org.example.iris.entity.Application;
import org.example.iris.dto.ApplicationInfo;

import java.util.List;

public interface ApplicationService {
    // 审批岗位申请
    boolean approveApplication(int applicationId, String status);


    /**
     * 获取某个岗位的所有申请ID
     * @param jobId 岗位ID
     * @return 申请ID列表
     */
    public List<ApplicationInfo> getApplicationIdsAndStudentIdsByJobId(int jobId);


    List<Application> getApplication(Integer userId);

    void deleteApplication(Integer applicationId);
}
